//
//  aboutView.m
//  Follow Me
//
//  Created by apple on 2017/4/26.
//  Copyright © 2017年 apple. All rights reserved.
//

#import "aboutView.h"

@implementation aboutView

- (void)awakeFromNib
{
    [super awakeFromNib];
    self.aboutInfoView.layer.cornerRadius = 14.0f;
    self.aboutInfoView.layer.masksToBounds = YES;
    self.aboutInfoView.alpha = 0.8f;
    self.backgroundColor = [UIColor clearColor];
    UITapGestureRecognizer *gr = [[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(tapBackground)];
    [self addGestureRecognizer:gr];
}

- (void)tapBackground
{
    [self removeFromSuperview];
}



/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
